//
//  YWTempMission.h
//  maintain
//
//  Created by Kyo on 16/3/4.
//  Copyright © 2016年 ewin. All rights reserved.
//

#import <Foundation/Foundation.h>
@class YWHandler;

typedef NS_ENUM(NSUInteger, YWTempMissionType) {
    YWTempMissionTypeOfMe = 0, // 我的
    YWTempMissionTypeOfOthers = 1, //我收到的
    YWTempMissionTypeOfAll = 2, //所有的
};
@interface YWTempMission : NSObject

/**临时任务ID*/
@property (nonatomic, assign) NSInteger tempMissionId;
/**编号*/
@property (nonatomic, copy) NSString* workSequence;
/**标题*/
@property (nonatomic, copy) NSString* title;
/**内容*/
@property (nonatomic, copy) NSString* content;
/**发布人*/
@property (nonatomic, strong) YWHandler *fromUser;
/**发布时间*/
@property (nonatomic, assign)NSTimeInterval createTime;
/**截止时间*/
@property (nonatomic, assign)NSTimeInterval completionTime;
/**图片*/
@property (nonatomic, strong)NSArray *imagesList;
/**附件*/
@property (nonatomic, strong)NSArray *attachmentList;
/**执行人集合*/
@property (nonatomic, strong)NSArray *executors;
/**执行人(id逗号隔开)*/
@property (nonatomic, copy) NSString *toUserIds;
///**回复评论集合*/
//@property (nonatomic, strong)NSArray *workReplyList;
/**是否已读*/
@property (nonatomic, assign) BOOL isRead;
/**文字过多时出现全文用以展开*/
@property (nonatomic, assign) BOOL isExpand;
/**@的人集合*/
@property (nonatomic, strong) NSArray *observers;
/**@的人的id串*/
@property (nonatomic, copy) NSString *observerIds;
@end

